<template>
    <div>
        <div>a</div>
        <div>b</div>
        <div>c</div>
        <div ref="addres">北京市朝阳区</div>
    </div>
</template>
<script setup lang="ts">
import { defineExpose, ref } from 'vue'

let a = ref('a')
let b = ref('b')
let c = ref('c')
let addres = ref()
//允许查看
defineExpose({ a, b, c ,addres})
</script>
<style lang="scss" scoped>

</style>